var a="{\"question\":\"《草原就是我的家》是哪个民族的民歌？\",\"type\":\"单选题\",\"optionnum\":3,\"option\":\"蒙古族|傣族|侗族\",\"answernum\":1,\"answer\":\"蒙古族\",\"weight\":\"2\"}"
function h(){
    c=JSON.parse(a);
    var options=c.option.split('|')
    console.log(c.question)
    console.log(options)
    console.log(c.answer)
}

var b="{\"question\":\"《草原就是我的家》是[]的[]歌曲？\",\"type\":\"单空题\",\"spacenum\":2,\"answernum\":2,\"answer\":\"蒙古族|民族\",\"weight\":\"2\"}"
function d(){
    e=JSON.parse(b);
    var question1=e.question.split('[]')
    var answer1=e.answer.split('|')
    console.log(question1)
    console.log(answer1)
   
}
